package com.ljh.mall.member.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ljh.common.utils.PageUtils;
import com.ljh.mall.member.entity.MemberEntity;
import com.ljh.mall.member.exception.PhoneExsitExecption;
import com.ljh.mall.member.exception.UsernameExsitException;
import com.ljh.mall.member.vo.MemberLoginVO;
import com.ljh.mall.member.vo.MemberReigerVO;

import java.util.Map;

/**
 * ��Ա
 *
 * @author ljh
 * @email 1612435061@qq.com
 * @date 2022-11-13 19:02:54
 */
public interface MemberService extends IService<MemberEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void register(MemberReigerVO vo) throws PhoneExsitExecption, UsernameExsitException;

    MemberEntity login(MemberLoginVO vo);
}

